package com.aimee.entity;

public class User {
	private int user_id;
	private int class_id;
	private int role_id;
	private String user_name;
	private String user_password;
	private String user_phone;
	private String user_sex;

	public int getUser_id() {
		return user_id;
	}

	public void setUser_id(int user_id) {
		this.user_id = user_id;
	}

	public int getClass_id() {
		return class_id;
	}

	public void setClass_id(int class_id) {
		this.class_id = class_id;
	}

	public int getRole_id() {
		return role_id;
	}

	public void setRole_id(int role_id) {
		this.role_id = role_id;
	}

	public String getUser_name() {
		return user_name;
	}

	public void setUser_name(String user_name) {
		this.user_name = user_name;
	}

	public String getUser_password() {
		return user_password;
	}

	public void setUser_password(String user_password) {
		this.user_password = user_password;
	}

	public String getUser_phone() {
		return user_phone;
	}

	public void setUser_phone(String user_phone) {
		this.user_phone = user_phone;
	}

	public String getUser_sex() {
		return user_sex;
	}

	public void setUser_sex(String user_sex) {
		this.user_sex = user_sex;
	}

	public User(int class_id, String user_name, String user_password, String user_phone, String user_sex) {
		super();
		this.class_id = class_id;
		this.user_name = user_name;
		this.user_password = user_password;
		this.user_phone = user_phone;
		this.user_sex = user_sex;
	}

	public User() {
		super();
	}

	public User(int user_id, int role_id) {
		this.user_id = user_id;
		this.role_id = role_id;
	}

	@Override
	public String toString() {
		return "User{" +
				"user_id=" + user_id +
				", class_id=" + class_id +
				", role_id=" + role_id +
				", user_name='" + user_name + '\'' +
				", user_password='" + user_password + '\'' +
				", user_phone='" + user_phone + '\'' +
				", user_sex='" + user_sex + '\'' +
				'}';
	}
}
